package com.lijian.study.neo4j.repository;

import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

import com.lijian.study.neo4j.entity.Person;

@Repository
public interface PersonRepository extends Neo4jRepository<Person, Long> {

    Person findByName(String fromName);
    // 你可以在这里添加自定义查询方法
}
